Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
emittableevent
Advanced tools
EmittableEvent is an opinionated abstraction class for generating rich EventBridge events.
EmittableEvent
is an opinionated abstraction class for generating rich EventBridge events.
// Your own event class
class MyEvent extends EmittableEvent {
// Do something here if you want, else just leave it as is!
}
// Convenience utility to produce required static metadata
const getMetadataConfig = (version = 1): MetadataConfigInput => {
return {
version,
eventType: 'DomainEvent',
domain: 'MyDomain',
system: 'MySystem',
service: 'MyService',
team: 'MyTeam',
hostPlatform: 'aws',
owner: 'Sam Person',
jurisdiction: 'eu'
};
};
// Input for actually creating the event
const eventInput = {
eventName: 'Created',
eventBusName: 'MyEventBus',
data: {
something: 'some value here if you want'
},
metadataConfig: getMetadataConfig()
};
// Create the event
const event = new CreatedEvent(eventInput, requestContext);
// ...and here's the actual full body of the event
console.log(event.get());
FAQs
EmittableEvent is an opinionated abstraction class for generating rich EventBridge events.
We found that emittableevent demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.